import * as zrender from 'zrender/dist/zrender.js'
export * from '../components/config.js'

export const getGroup = function () {
  return new zrender.Group()
}

export const zrenderInit = function (elNode) {
  var container = elNode;
  console.log('zrenderInit', zrender)
  var zr = zrender.init(container, {
    devicePixelRatio: 2
  });

  return zr
}